package domain;

import java.util.Scanner;

/**
 * @author zihao
 * @date 2025/3/17 15:03
 * @VERSION
 * @description
 **/
public class Caculator {
    public String brand="菊花";
    public int size=6;
    public void addWay(){
        Scanner input = new Scanner(System.in);
        int sum=0;
        System.out.println("请输入两个数字：");
        int num= input.nextInt();
        int num1= input.nextInt();
        sum=num+num1;
        System.out.println(sum);
    }
    public void multiplication(){
        Scanner input = new Scanner(System.in);
        int sum=0;
        System.out.println("请输入两个数字：");
        int num= input.nextInt();
        int num1= input.nextInt();
        sum=num*num1;
        System.out.println(sum);
    }
}
